WooCommerce\Square\Gateway\API\Requests\Orders S

Total Complexity 42
Dependencies 18
Dependents 1
Total lines 464
Lines of code 251
Logical lines of code 163
Comment lines 114
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
get_api_line_items()
B
36 15 74
apply_taxes()
S
56 6 17
set_order_data()
S
47 2 42
get_order_taxes()
S
58 3 14
get_product_line_items()
S
64 3 10
get_fee_line_items()
S
64 3 10
get_shipping_line_items()
S
64 3 10
add_discount_order_data()
S
54 1 21
add_line_item_order_data()
S
54 1 20
set_update_order_data()
S
57 1 17
set_create_order_data()
S
64 2 9
__construct()
S
80 1 3
set_retrieve_order_data()
S
76 1 4